﻿namespace GIMS.Def.Arguments
{
    public class NumberArgument:Argument
    {
        private int value=0;

        public NumberArgument()
        {
            name = "Number Argument";
            type=Flags.ArgumentType.number;
        }

        public int Value
        {
            get { return value; }
            set
            {
                this.value = value;
                OnPropertyChanged("number");
            }
        }

        public override string CreateScriptPart()
        {
            return value.ToString();
        }
    }
}
